<!DOCTYPE html>
<html>
  <head>
    <title>就知道吃</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style>
      div { text-align: center; }
    </style>
  </head>
  <body>
    <br /><br /><br /><br /><br /><br /><br />
    <div id="main">什么都没有</div>
    <div id="other"></div>
    <div id="final"></div>
    <script>
function setContent(txt, tag) {
if (tag == null) tag = 'h3'
document.getElementById("main").innerHTML="<" + tag + ">" + txt + "</" + tag + ">"
}
function showOtherContent() {
  var tag = "h1"
  var txt = "祝猫猫生日快乐!"
  var c = "<" + tag + ">" + txt + "</" + tag + ">"
  document.getElementById("main").innerHTML += c
}
function showFinalContent() {
  document.getElementById("final").innerHTML += "喵"
  setTimeout('showFinalContent()', 1000)
}
      setTimeout('setContent("傻了吧！！", "h3")', 5000)
      setTimeout('setContent("祝猫猫生日快乐！", "h6")', 10000)
      setTimeout('setContent("祝猫猫生日快乐！", "h5")', 11000)
      setTimeout('setContent("祝猫猫生日快乐！", "h4")', 12000)
      setTimeout('setContent("祝猫猫生日快乐！", "h3")', 13000)
      setTimeout('setContent("祝猫猫生日快乐！", "h2")', 14000)
      setTimeout('setContent("祝猫猫生日快乐！", "h1")', 15000)
setTimeout('showOtherContent()', 20000)
setTimeout('showOtherContent()', 21000)
setTimeout('showOtherContent()', 22000)
setTimeout('showOtherContent()', 23000)
setTimeout('showOtherContent()', 24000)
setTimeout('showFinalContent()', 30000)
    </script>
  </body>
</html>
